package com.moon.interface_api.task;

import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


@Component
public class BTask {

    @Async
    @Scheduled(cron = "*/7 * * * * ?")
    public void doTask(){
        System.out.println("B------------------");
    }
}
